package com.tancire.common.enums;

/**
 * 用户状态
 *
 * @author ruoyi
 */
public enum OrderStatus {
    NOT_PAY("0", "待付款"),
    NOT_USE("1", "待使用"),
    USED("2", "已使用"),
    CANCEL("3", "已取消");

    private final String code;
    private final String info;

    OrderStatus(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
